import '../../utils/concrete'
/* eslint-disable */
var i = 0
/* 返回i */
export function getNum() {
  i=i+1;
  if(i>10){
    i = 0;
  }
  return i
}
/* 查询所属单位 */
export function searchUnit(param1, param2, param3) {
  const pageRequest = {
    condition: {},
    num: param1,
    pageSize: param2
  }
  const querypara = param3
  return concrete.module('SysComponentService').lovSysorgs(pageRequest, querypara)
}

/* 查询所属单位 */
export function searchUnitByExtraParam(num, pageSize, queryParam,extraForm) {
  const pageRequest = {
    condition: {
      lovtype: extraForm.lovtype,
      level: extraForm.level,
      orgtype: extraForm.orgtype,
      p_org: extraForm.p_org,
      getSelfOrg: extraForm.getSelfOrg
    },
    num: num,
    pageSize: pageSize
  }
  const querypara = queryParam
  return concrete.module('SysComponentService').lovSysorgs(pageRequest, querypara)
}
/* 查询收费路段 */
export function searchRoad(param1, param2, param3) {
  const pageRequest = {
    condition: {},
    num: param1,
    pageSize: param2
  }
  const querypara = param3
  return concrete.module('SysComponentService').lovChargeunits(pageRequest, querypara)
}
//获取单位下拉列表
export function getDwList() {
  return concrete.module('SysComponentService').orgnameComboboxStore("2")
}
/* 查询车场组件 */
export function searchPark(param1, param2, param3) {
  const pageRequest = {
    condition: {},
    num: param1,
    pageSize: param2
  }
  const querypara = param3
  return concrete.module('SysComponentService').lovBaseparks(pageRequest, querypara)
}
/* 查询补缴收费员 */
export function searchBackPerson(param1, param2, param3) {
  const pageRequest = {
    condition: {},
    num: param1,
    pageSize: param2
  }
  const querypara = param3
  const recordZw = ''
  return concrete.module('SysComponentService').lovBaserecords(pageRequest, querypara,recordZw)
}
